package com.zjhs.media.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zjhs.media.domain.${ClassName};

/**
 * ${table.comment}Service接口
 * 
 * @author ruoyi
 * @date 2022-11-09
 */
public interface I${ClassName}Service extends IService<${ClassName}>
{
    /**
     * 查询${table.comment}
     * 
     * @param id ${table.comment}主键
     * @return ${table.comment}
     */
    public ${ClassName} select${ClassName}ById(Long id);

    /**
     * 查询${table.comment}列表
     * 
     * @param ${className} ${table.comment}
     * @return ${table.comment}集合
     */
    public List<${ClassName}> select${ClassName}List(${ClassName} ${className});

    /**
     * 新增${table.comment}
     * 
     * @param ${className} ${table.comment}
     * @return 结果
     */
    public int insert${ClassName}(${ClassName} ${className});

    /**
     * 修改${table.comment}
     * 
     * @param ${className} ${table.comment}
     * @return 结果
     */
    public int update${ClassName}(${ClassName} ${className});

    /**
     * 批量删除${table.comment}
     * 
     * @param ids 需要删除的${table.comment}主键集合
     * @return 结果
     */
    public int delete${ClassName}ByIds(Long[] ids);

    /**
     * 删除${table.comment}信息
     * 
     * @param id ${table.comment}主键
     * @return 结果
     */
    public int delete${ClassName}ById(Long id);

}
